package com.starhub.application.agent.result;

import lombok.Data;
import java.util.List;

@Data
public class AiChatResult {
    private boolean success;
    private String message;
    private String messageMode;
    private String chatSessionId;
    private List<String> matchedFunctions;
    private String knowledgeContent;

    public static AiChatResult fail(String message) {
        AiChatResult result = new AiChatResult();
        result.setSuccess(false);
        result.setMessage(message);
        return result;
    }

    public static AiChatResult success(String message) {
        AiChatResult result = new AiChatResult();
        result.setSuccess(true);
        result.setMessage(message);
        return result;
    }
}
